<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<html>
<head><title>Hotcars - Detail</title></head>
<body>
	<h2>Car Detail Page</h2>
	<s:form id="companyForm" action="save" method="post" validate="true">
		<s:hidden key="car.id" />		
			<table>
				<tr valign="top">
					<td rowspan="1">
						<table>
							<tr>
								<td style="border: 0px">
								<s:textfield key="car.make" label="Make" id="make"/>
								</td>
							</tr>
							<tr>
								<td style="border: 0px">
								<s:textfield key="car.model" label="Model" id="model"/>
								</td>
							</tr>
							<tr>
								<td style="border: 0px">
								<s:textfield key="car.year" label="Year" id="year"/>
								</td>
							</tr>
							<tr>
								<td style="border: 0px">
								<s:textfield key="car.price" label="Price" id="price"/>
								</td>
							</tr>
							<tr>
								<td style="border: 0px">
								<s:textfield key="car.mileage" label="Mileage" id="mileage"/>
								</td>
							</tr>
							<tr>
								<td style="border: 0px">
								<s:textfield key="car.engine" label="Engine" id="engine"/>
								</td>
							</tr>
							<tr>
								<td style="border: 0px">
								<s:textfield key="car.transmission" label="Transmission" id="transmission"/>
								</td>
							</tr>
							<tr>
								<td style="border: 0px">
								<s:textfield key="car.bodyStyle" label="Body Style" id="bodyStyle"/>
								</td>
							</tr>
							<tr>
								<td style="border: 0px">
								<s:textfield key="car.exterior" label="Exterior" id="exterior"/>
								</td>
							</tr>
							<tr>
								<td style="border: 0px">
								<s:textfield key="car.interior" label="Interior" id="interior"/>
								</td>
							</tr>
							<tr>
								<td style="border: 0px">
								<s:textfield key="car.vin" label="VIN" id="vin"/>
								</td>
							</tr>
						</table> 
					</td>
				</tr>				
			</table>
	</s:form>		
</body>
</html>
